﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;

namespace TalksLog.UI.Models.BindingModels
{
    public class LoginAccountBM
    {
        [Display(Name = "电子邮箱")]
        [Required(ErrorMessage = "请填写电子邮箱")]
        [EmailAddress(ErrorMessage = "请填写正确的电子邮箱格式")]
        public string Email { get; set; }

        [Display(Name = "密码")]
        [Required(ErrorMessage = "请填写密码")]
        public string Password { get; set; }
    }
}
